"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RetCodeDefine = void 0;
class RetCodeDefine {
}
exports.RetCodeDefine = RetCodeDefine;
RetCodeDefine.OK = 1; //正确
RetCodeDefine.RegisterError_HadUser = 2; //注册失败已存在改用户
RetCodeDefine.Error_Param = 3; //参数错误
RetCodeDefine.LoginError_NoUser = 4; //登录不存在改用户
RetCodeDefine.LoginError_NoPass = 5; //登录密码错误
RetCodeDefine.LoginError_Forbid = 6; //禁止登录
RetCodeDefine.LoginError_MultiLogin = 7; //异地登录
RetCodeDefine.LoginError_NoLogin = 8; //没登录就发命令
RetCodeDefine.LoginError_token = 8; //token错误
RetCodeDefine.code2Msg = new Map().
    set(RetCodeDefine.OK, "OK").
    set(RetCodeDefine.RegisterError_HadUser, "注册失败已存在用户").
    set(RetCodeDefine.LoginError_NoUser, "不存在该用户").
    set(RetCodeDefine.Error_Param, "参数错误").
    set(RetCodeDefine.LoginError_NoPass, "密码错误").
    set(RetCodeDefine.LoginError_Forbid, "禁止登录，请联系相关人员").
    set(RetCodeDefine.LoginError_MultiLogin, "异地登录!").
    set(RetCodeDefine.LoginError_NoLogin, "未登录!").
    set(RetCodeDefine.LoginError_token, "token已过期");
